<?php
/**
 * User: Hufeng
 * Date: 2015/12/15 17:45
 * Desc: 配置文件
 */
return array(
    /*数据库*/
    'DB_SERVER' => array(
        'server' => '39.108.195.205', // 服务器地址
        'database' => 'shendu', // 数据库名
        'dbname' => 'root', // 用户名
        'dbpwd' => 'Ylthufeng9', // 密码
        'port' => 3306, // 端口
        'charset'=> 'utf8', // 字符集
    ),
    /*阿里大于*/
    'ALIDAYU'=>[
        'app_key'=>'LTAIJvjguKlSamPB',
        'app_secret'=>'aMD1l1dGoMjt0LZXulO54TCJtAQBgk',
        'checkCodeTplId'=>'SMS_122890014',//验证码短信模板
    ],
    'REDIS'=> array(
        'REDISSENTINELS'=>[
            'scheme' => 'tcp',
            'host'   => '119.29.66.165',
            'port'   => 6379
        ],
        'REDISOPTIONS'=>[
            'replication' => 'sentinel',
            'service' => 'mymaster',
            'parameters' => [
                'password' => 'hufeng',
                'database' => 5,
            ],
        ]
    )
);